<?php
	switch ($reemplazo["id"]) {
		case "INST_AGUA_CTE":
			if ($object->obtener("inst_agua_cte") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_AGUADAS":
			if ($object->obtener("inst_aguadas") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_AGUA_POZO":
			if ($object->obtener("inst_agua_pozo") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_ALAMBRADO":
			if ($object->obtener("inst_alambrado") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_ARBOLEDA":
			if ($object->obtener("inst_arboleda") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_BEBEDERO":
			if ($object->obtener("inst_bebedero") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_BOXES":
			if ($object->obtener("inst_boxes") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_BRETES":
			if ($object->obtener("inst_bretes") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_CORRAL":
			if ($object->obtener("inst_corral") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_ELECTRICIDAD":
			if ($object->obtener("inst_electricidad") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_ESTACADA":
			if ($object->obtener("inst_estacada") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_FORESTACION":
			if ($object->obtener("inst_forestacion") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_FOSAS":
			if ($object->obtener("inst_fosas") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_HARAS":
			if ($object->obtener("inst_haras") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_LUZ_ELECTRICA":
			if ($object->obtener("inst_luz_electrica") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_MANGAS":
			if ($object->obtener("inst_mangas") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_MOLINO":
			if ($object->obtener("inst_molino") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_TRATA_EFLUENTES":
			if ($object->obtener("inst_trata_efluentes") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_VIVIENDA":
			if ($object->obtener("inst_vivienda") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "INST_ALAMBRADO_PERI":
			if ($object->obtener("inst_alambrado_peri") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		default: $html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$reemplazo["texto"],$html_page); break;
	}
?>